home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / Puzzle / Cubox.swf / scripts / DefineSprite_237 / frame_15 / DoAction_4.as < prev    next >
Text File  |  2004-06-30  |  538b  |  24 lines

  1. set_bumper = "1";
  2. while("9" >= set_bumper)
  3. {
  4.    if("0" < eval("BUMP" add set_bumper))
  5.    {
  6.       set("bumper/tile" add set_bumper add "/bomb:bomb",eval("BUMP" add set_bumper));
  7.    }
  8.    set_bumper += "1";
  9. }
  10. set_bumper = "1";
  11. while("9" >= set_bumper)
  12. {
  13.    if(eval("BLIX" add set_bumper) == bumper and eval("bump" add set_bumper) == "0")
  14.    {
  15.       tellTarget("BUMPER/tile" add set_bumper)
  16.       {
  17.          gotoAndStop("no");
  18.          play();
  19.       }
  20.       set("BLIX" add set_bumper,"0");
  21.    }
  22.    set_bumper += "1";
  23. }
  24.